public class TestDriver {
    public static void main(String[] args) {

        Driver a = new Driver("老汤", "男");
        Car3 b = new Car3(4, "1.4T");
        Tank c = new Tank("10马力", 30);
        Steamer d = new Steamer(20, 100, 60);
        Tractors e = new Tractors(150, 200);
        AirPlane f = new AirPlane(100, 300);
        a.driver(b);
        a.driver(c);
        a.driver(d);
        a.driver(e);
        a.driver(f);


    }
}

